import axios from "../axios"

/**
 * 我的卡券
 * */
export const couponMine=(data)=>{
    return axios({
        url:"/api/coupon/mine",
        method:'post',
        data
    })
}

/**
 * 我的停车券
 * */
export const couponMinePark=(data)=>{
    return axios({
        url:"/api/coupon/minePark",
        method:'post',
        data
    })
}

/**
 * 卡券码
 * */
export const couponCode=(data)=>{
    return axios({
        url:"/api/coupon/code",
        method:'post',
        data
    })
}

/**
 * 核销校验测试
 * */
export const beforeWriteOff=(data)=>{
    return axios({
        url:"/api/coupon/beforeWriteOff",
        method:'post',
        data
    })
}


